/*
 * @Author: HuRrongChao zhuangpiao@qingmutec.com
 * @Date: 2024-10-09 14:16:43
 * @LastEditors: HuRrongChao
 * @LastEditTime: 2025-02-24 14:24:47
 * @FilePath: \rc_-short-video\src\store\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
// 该文件用于创建store

// 引入vuex
import { createStore } from 'vuex'

import videoFunctionList from './videoFunctionList.js'
import user from './user.js'
import chat from './chat.js'


// 创建一个新的 store 实例
const store = createStore({
  modules: {
    videoFunctionList,
    user,
    chat
  }
})


// 创建并暴露store
export default store